package com.sw.c.pojo.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 权限表(Permission)实体类
 *
 * @author makejava
 * @since 2024-04-01 15:42:50
 */
@Data
@TableName("permission")
public class Permission implements Serializable {
    private static final long serialVersionUID = 527975523982771128L;
    /**
     * 权限ID
     */
    private Integer id;
    /**
     * 权限名称
     */
    private String name;
    /**
     * 权限描述
     */
    private String description;
    /**
     * 状态
     */
    private Integer status;
    /**
     * 上级id
     */
    private Integer pid;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 路径
     */
    private String path;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;

    private Boolean checked;

    private List<Permission> children;


}

